//this class just give interface for timer use
//it use bridge pattern to give low-coupling function
//andycai_sc 2011-05-27

#ifndef GTIMER_H
#define GTIMER_H

class GTimerImpl;
class GTimer
{
public:
	virtual ~GTimer();

	void begin(long mills);

	void cancel();

	virtual void schedule() = 0;

protected:
	GTimer();

protected:
	GTimerImpl* m_timerImpl;
};

#endif
